import * as types from './mutation-types'

export const logout = ({ commit }) => {
  commit(types.LOGOUT)
}
export const setMenuList = ({ commit }) => {
  commit(types.SETMENULIST)
}
export const setSedMenuList = ({ commit }, list) => {
  commit(types.SETSEDMENULIST, list)
}
export const setH = ({ commit }, h) => {
  commit(types.SETH, h)
}
export const SETCOLOR = ({ commit }, color) => {
  commit(types.SETCOLOR, color)
}
